package Service

import "TCPServer/Interfaces"

type Request struct {
	conn Interfaces.IConnection
	msg  Interfaces.IMessage
}

func (r *Request) GetConnection() Interfaces.IConnection {
	return r.conn
}
func (r *Request) GetMsgID() uint16 {
	return r.msg.GetMsgId()
}
func (r *Request) GetData() []byte {
	return r.msg.GetData()
}
